<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<center>
<h1>分类管理</h1><br>
<a href="addTerm.html">新增分类</a>
<table>
	<tr>
		<th>分类id</th>
		<th>分类名称</th>
		<th>分类说明</th>
		<th>分类类型</th>
		<th>修改</th>
		<th>删除</th>
	</tr>
	<c:forEach items="${termList }" var="term">
	<tr>
		<td>${term.termID }</td>
		<td>${term.name }</td>
		<td>${term.description }</td>
		<td>${term.type }</td>
		<td><a href="#">修改</a></td>
		<td><a href="#">删除</a></td>
	</tr>
	</c:forEach>
</table>

</center>
</body>
</html>